package com.pactera.madp.cp.api.entity.authorizer;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pactera.madp.cp.api.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.*;

import java.io.Serializable;

/**
 * (CpAuthorizer)实体类
 *
 * @author yushen.qi
 * @since 2021-08-04 15:08:28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName("cp_authorizer")
@ApiModel(value = "(营销素材文章)实体类")
public class AuthorizerEntity extends BaseEntity<AuthorizerEntity> implements Serializable {
    private static final long serialVersionUID = 752104827444854058L;
    /**
     * 主键id
     */
    @TableId(type = IdType.AUTO)
    private Integer id;
    /**
     * 公众号id
     */
    private String authorizerAppId;
    /**
     * 原始id
     */
    private String userName;
    /**
     * 公众号昵称
     */
    private String nickName;
    /**
     * 公众号头像
     */
    private String headImg;
    /**
     * 公众号类型,0-订阅号,1-由历史老帐号升级后的订阅号 2-服务号
     */
    private Integer serviceTypeInfo;
    /**
     * 授权时间
     */
    private String authTime;

    /**
     * 1-未选中，2-选中
     */
    private Integer status;

    /**
     * 企业id
     */
    private Integer corpId;

}
